QT += core
QT -= gui

CONFIG += c++11

TARGET = rtsp-server
CONFIG += console
CONFIG -= app_bundle

TEMPLATE = app

CONFIG += link_pkgconfig
PKGCONFIG += gstreamer-1.0 gstreamer-rtsp-server-1.0

SOURCES += main.cpp

DEFINES += QT_DEPRECATED_WARNINGS

#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
linux-oe-g++ {
    message(Build $$TARGET for Linux on Cross Platform)
    DEFINES += OE_CROSS_PLATFORM

    target.path=/usr/bin
    INSTALLS += target
}
